﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014D5 RID: 5333
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateTrackMainMissionIdCsReq : IMessage<UpdateTrackMainMissionIdCsReq>, IMessage, IEquatable<UpdateTrackMainMissionIdCsReq>, IDeepCloneable<UpdateTrackMainMissionIdCsReq>, IBufferMessage
	{
		// Token: 0x1700431F RID: 17183
		// (get) Token: 0x0600EE7A RID: 61050 RVA: 0x0027CE1B File Offset: 0x0027B01B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateTrackMainMissionIdCsReq> Parser
		{
			get
			{
				return UpdateTrackMainMissionIdCsReq._parser;
			}
		}

		// Token: 0x17004320 RID: 17184
		// (get) Token: 0x0600EE7B RID: 61051 RVA: 0x0027CE22 File Offset: 0x0027B022
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateTrackMainMissionIdCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004321 RID: 17185
		// (get) Token: 0x0600EE7C RID: 61052 RVA: 0x0027CE34 File Offset: 0x0027B034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateTrackMainMissionIdCsReq.Descriptor;
			}
		}

		// Token: 0x0600EE7D RID: 61053 RVA: 0x0027CE3B File Offset: 0x0027B03B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdCsReq()
		{
		}

		// Token: 0x0600EE7E RID: 61054 RVA: 0x0027CE43 File Offset: 0x0027B043
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdCsReq(UpdateTrackMainMissionIdCsReq other) : this()
		{
			this.kCCJCMEPHNC_ = other.kCCJCMEPHNC_;
			this.trackMissionId_ = other.trackMissionId_;
			this.mLEAOJNCEFO_ = other.mLEAOJNCEFO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EE7F RID: 61055 RVA: 0x0027CE80 File Offset: 0x0027B080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateTrackMainMissionIdCsReq Clone()
		{
			return new UpdateTrackMainMissionIdCsReq(this);
		}

		// Token: 0x17004322 RID: 17186
		// (get) Token: 0x0600EE80 RID: 61056 RVA: 0x0027CE88 File Offset: 0x0027B088
		// (set) Token: 0x0600EE81 RID: 61057 RVA: 0x0027CE90 File Offset: 0x0027B090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrackMainMissionUpdateReasonId KCCJCMEPHNC
		{
			get
			{
				return this.kCCJCMEPHNC_;
			}
			set
			{
				this.kCCJCMEPHNC_ = value;
			}
		}

		// Token: 0x17004323 RID: 17187
		// (get) Token: 0x0600EE82 RID: 61058 RVA: 0x0027CE99 File Offset: 0x0027B099
		// (set) Token: 0x0600EE83 RID: 61059 RVA: 0x0027CEA1 File Offset: 0x0027B0A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrackMissionId
		{
			get
			{
				return this.trackMissionId_;
			}
			set
			{
				this.trackMissionId_ = value;
			}
		}

		// Token: 0x17004324 RID: 17188
		// (get) Token: 0x0600EE84 RID: 61060 RVA: 0x0027CEAA File Offset: 0x0027B0AA
		// (set) Token: 0x0600EE85 RID: 61061 RVA: 0x0027CEB2 File Offset: 0x0027B0B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MLEAOJNCEFO
		{
			get
			{
				return this.mLEAOJNCEFO_;
			}
			set
			{
				this.mLEAOJNCEFO_ = value;
			}
		}

		// Token: 0x0600EE86 RID: 61062 RVA: 0x0027CEBB File Offset: 0x0027B0BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateTrackMainMissionIdCsReq);
		}

		// Token: 0x0600EE87 RID: 61063 RVA: 0x0027CECC File Offset: 0x0027B0CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateTrackMainMissionIdCsReq other)
		{
			return other != null && (other == this || (this.KCCJCMEPHNC == other.KCCJCMEPHNC && this.TrackMissionId == other.TrackMissionId && this.MLEAOJNCEFO == other.MLEAOJNCEFO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EE88 RID: 61064 RVA: 0x0027CF28 File Offset: 0x0027B128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KCCJCMEPHNC != TrackMainMissionUpdateReasonId.TrackMainMissionUpdateNone)
			{
				num ^= this.KCCJCMEPHNC.GetHashCode();
			}
			if (this.TrackMissionId != 0U)
			{
				num ^= this.TrackMissionId.GetHashCode();
			}
			if (this.MLEAOJNCEFO != 0U)
			{
				num ^= this.MLEAOJNCEFO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EE89 RID: 61065 RVA: 0x0027CF9F File Offset: 0x0027B19F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EE8A RID: 61066 RVA: 0x0027CFA7 File Offset: 0x0027B1A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EE8B RID: 61067 RVA: 0x0027CFB0 File Offset: 0x0027B1B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MLEAOJNCEFO != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.MLEAOJNCEFO);
			}
			if (this.KCCJCMEPHNC != TrackMainMissionUpdateReasonId.TrackMainMissionUpdateNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.KCCJCMEPHNC);
			}
			if (this.TrackMissionId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.TrackMissionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EE8C RID: 61068 RVA: 0x0027D028 File Offset: 0x0027B228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KCCJCMEPHNC != TrackMainMissionUpdateReasonId.TrackMainMissionUpdateNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.KCCJCMEPHNC);
			}
			if (this.TrackMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrackMissionId);
			}
			if (this.MLEAOJNCEFO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MLEAOJNCEFO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EE8D RID: 61069 RVA: 0x0027D098 File Offset: 0x0027B298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateTrackMainMissionIdCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KCCJCMEPHNC != TrackMainMissionUpdateReasonId.TrackMainMissionUpdateNone)
			{
				this.KCCJCMEPHNC = other.KCCJCMEPHNC;
			}
			if (other.TrackMissionId != 0U)
			{
				this.TrackMissionId = other.TrackMissionId;
			}
			if (other.MLEAOJNCEFO != 0U)
			{
				this.MLEAOJNCEFO = other.MLEAOJNCEFO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EE8E RID: 61070 RVA: 0x0027D0FC File Offset: 0x0027B2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EE8F RID: 61071 RVA: 0x0027D108 File Offset: 0x0027B308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 64U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.TrackMissionId = input.ReadUInt32();
						}
					}
					else
					{
						this.KCCJCMEPHNC = (TrackMainMissionUpdateReasonId)input.ReadEnum();
					}
				}
				else
				{
					this.MLEAOJNCEFO = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005E3E RID: 24126
		private static readonly MessageParser<UpdateTrackMainMissionIdCsReq> _parser = new MessageParser<UpdateTrackMainMissionIdCsReq>(() => new UpdateTrackMainMissionIdCsReq());

		// Token: 0x04005E3F RID: 24127
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E40 RID: 24128
		public const int KCCJCMEPHNCFieldNumber = 8;

		// Token: 0x04005E41 RID: 24129
		private TrackMainMissionUpdateReasonId kCCJCMEPHNC_;

		// Token: 0x04005E42 RID: 24130
		public const int TrackMissionIdFieldNumber = 9;

		// Token: 0x04005E43 RID: 24131
		private uint trackMissionId_;

		// Token: 0x04005E44 RID: 24132
		public const int MLEAOJNCEFOFieldNumber = 5;

		// Token: 0x04005E45 RID: 24133
		private uint mLEAOJNCEFO_;
	}
}
